home *** CD-ROM | disk | FTP | other *** search
/ Hacker's Arsenal - The Cutting Edge of Hacking / Hacker's Arsenal - The Cutting Edge of Hacking.iso / texts / linux.txt < prev    next >
Text File  |  2001-07-11  |  35KB  |  819 lines

  1.         LINUX 
  2.  
  3. 1.Introduction To Linux
  4.       Do I really want to read this?
  5.       What is Linux?
  6.       Why do I want to use Linux?
  7.       Overview of Unix/Linux Features
  8.           Multitasking
  9.           Multiuser
  10.           Programmable Shells
  11.           Communications and Networking
  12.       Brief History of Linux/Unix 
  13.  
  14. 2.Understanding Linux Distributions
  15.       Choosing the Right Hardware
  16.           CPU
  17.           BUS
  18.           Memory
  19.           Disk Drive & Space Requirements
  20.           Monitor
  21.           CD-Rom
  22.  
  23. 3.Installing Linux 
  24.       Preparations-Floppies & Backups
  25.           MS-DOS Boot Disk
  26.           Backing Up
  27.           Creating Boot & Root Disks
  28.       Partitioning
  29.           Explaining Partitions
  30.           Using FDISK
  31.       Preparing HD for Linux 
  32.           Booting Linux
  33.           Partitioning Drive For Linux
  34.           Using Linux FDISK
  35.           Adding Necessary Partition
  36.           Creating Swap Partition
  37.       Installing the Linux System
  38.       Problems
  39.  
  40. 4.Running Linux Applications
  41.       Moving Around In Linux
  42.       Managing Users
  43.           Logging On and Off
  44.           Adding Users
  45.           Changing Passwords
  46.       Basic Commands
  47.       Shutting Down Linux
  48.       Running Linux Programs
  49.  
  50. 5.X Windows
  51.       What is X Windows?
  52.       Installing XFree86
  53.           Hardware Support
  54.       Configuring XFree86
  55.       X Windows Resource Files
  56.  
  57. 6.Improving System Security
  58.       Password Security
  59.       Logon Security
  60.           Accounts w/o Passwords
  61.       File Security
  62.           Permissions
  63.       SUID & SGID Programs
  64.       Recording Use of the su command
  65.  
  66. 7.Linux Shells
  67.       Logging On
  68.       Understanding Shells
  69.  
  70. 8.Command Line Reference 
  71.  
  72. 9.The End
  73.       A Few Words
  74.       Credits
  75. ----------------------------------------------------
  76.  
  77.  
  78. 1.Introduction To Linux
  79.       Do I Really Want to read this? Well, this is up to 
  80.       you I'm not going to say sure read this. Usually my writings are casual and very beginner, this is my "writing revolution." This doc is for beginner Unix/Linux Users or advanced Windows 95/NT users, who want to switch o/s's. These are my notes and just something I put together for others. Let me know what you think.
  81.       What is Linux? Linux is an o/s for Intel-Based PC's. It's free of commercial copyrights and a Unix clone. Thousands of programmers put it together, starting with Linus Torvalds.
  82.       Why do I want to use Linux? Linux is the only o/s today that is freely available to provide multitasking, multiprocessing capabilities for multiple users on IBM PC-compatible hardware platforms. You can also access to the kernel source code to modify & expand it to your needs.
  83.  
  84. Overview of Linux/Unix Features
  85.       Multitasking-describes the ability to seemingly 
  86.       execute multiple programs at the same time without       hindering each application
  87.      
  88.       Multiuser- uses same user interfaces as WinNT but 
  89.       quicker
  90.       
  91.       Programmable Shells- gives Linux its trademark       "most flexible o/s available"
  92.  
  93.       Communications & Networking-tightly coupled             networking capabilities, also has the built-in
  94.       flexibility of those features.
  95.  
  96. History on Unix/Linux
  97.       Linux originated from Minix, created by Andrew tannebaum. But Linux's history is tied to the history of Unix. AT&T's Ken Thompson started the Unix idea. BSD released their first version in 1978. USL-Unix System Laboratories-developed Unix operating systems since the early '80's. Microsoft developed their Unix version in the late 70's to early 80's. (Microsoft in Unix production, one word: wow) Sun Microsystems is mostly responsible for the marketability of Unix systems, because of SunOS and now Solaris. In 1993 Novell Inc. (maker of Novell Netware, ya think?) purchased USL from AT&T making them the owner of the "Unix" copyright.
  98.  
  99.  
  100. 2.Choosing the right hardware for Linux
  101.  
  102.       System CPU-Intel 80386 or later, clone chips included
  103.       
  104.       System Bus-ISA & EISA. MCA bus used on IBM's PS/2 is NOT supported. The new PCI bus is supported.
  105.        
  106.       Memory-Linux itself requires little RAM. 4M is recommended. For XFree86(clone of X windows) requires at least 16M of virtual memory
  107.  
  108.       Disk Space-150-200M, my full install including XFree86 uses 699M depending on what packages you will install.
  109.     
  110.       Monitor-text based terminal CGA-EGA-VGA-SVGA cards & monitors. Also provides support for vendors of-TSENG, WESTERN DIGITAL, TRIDENT, ATI, NCR, CIRRUS LOGIC, OAK, S3, COMPAQ, PARADISE
  111.  
  112.       CD-Rom-Most IDE/ATAPI CD-Rom
  113.  
  114.  
  115. 3.Installing Linux(woohoo here we go)
  116.  
  117.       Preparing- First Off, Calm Down, this is EASY!
  118.  
  119.       MS-DOS Boot Disk-Place a formatted floppy in the drive. Copy your CONFIG.SYS, AUTOEXEC.BAT,FDISK.EXE, FORMAT.COM, and any driver files you'll need. Keep this disk, it'll ber important I promise.
  120.  
  121.       Backing Up Your System- Most computer users today use tape drives or one of those groovy zip drives (i want one!) So you can back up with that or with floppies (lots of them) syntax for backing up is: backup from to (EX: backup c: a:)
  122.  
  123.       Creating Boot/Root Disk- Well this is where you read the readme files provided on the CD. Using RAWRITE.EXE you'll copy the files for booting. I may comeback and add the distribution setups but I need to research to do that, and I'm already behind on this as it is NOW!
  124.  
  125.       Partitioning- Okay, please make sure your drive is backed up, max. data loss is assured. Partitioning will split your hard drive into sections. In case you want to keep another o/s, such as Win95, NT, or O/S2, maybe even another distribution of Linux.
  126.  
  127.       Using FDISK-First plan out what you're going to have on your system, o/s's I mean. If you're going to have let's say LINUX & WINNT, split the drive in two partitions, etc.. then you get into FDISK ("fdisk" @ the dos prompt) delete all the partitions then "create dos partition of Logical DOS drive" (option "1") that will be when you fix the partitions to half, then go to option 2 and set the "primary" Then exit FDISK and reboot your computer, make sure you put the DOS boot disk from earlier in drive a. At the DOS prompt type FORMAT C: /S. After it's finished formatting, reboot with the LINUX boot disk.
  128.  
  129.       Preparing your HD for LINUX- LILO(LInux LOader) loads and uncompresses Linux, follow the directions for installation on your distrib. 
  130.  
  131.       Partitioning Drive for Linux- At the shell prompt type FDISK, the fdisk will startup, hit "m" and study the commands. To began partitioning hit "p" and return to display the partition table, make sure your partitions are correct. Some Linux distribs. add their own swap partition, if not, swap partitions are explained earlier allowing your memory to move faster. Swap Partitions are 2 times your memory size(16M Ram=32M swap) so follow the help section(m) to create a new partition. Hit "t" at fdisk prompt then select the partition you set up for swap and put "82" You can install Linux on a FAT filesystem so make the decision to keep FAT or change it to Linux Native(option 83 or the "t" command)
  132.  
  133.       Installing the Linux System- If you got the last section you're doing good. I made that a bit broad, find me if you need help, no problem at all. Well, to install your Linux use the boot disk and have the cd handy and follow the prompts for the install, no biggie. Pick your packets to install select the partitions to install and bam finished.
  134.  
  135.       Problems??- LILO should load after Linux installation, if it doesn't go back to DOS and reformat, then redo the steps above. Simplest worry, any other problems find me and I'll help you out, or at least point you in the right direction.
  136.  
  137.  
  138. 5.Running Linux Applications-woohoo! you are now running Linux...well why'd you get it? well let's check it out. You get a login prompt enter "root" and your password.
  139.  
  140.       Managing Users- 
  141.           
  142.            Logging On and Off- LOGOUT <return> at the prompt
  143.  
  144.            Adding Users- ADDUSER(NAME) then follow prompts 
  145.  
  146.            Changing Passwords- PASSWD at prompt, Admins use SU USER-NAME then PASSWD to change clients passwords
  147.  
  148.       Basic Commands-
  149.         
  150.            cd- change directory
  151.            ls- = to DOS DIR
  152.            cp- copy file (cp from to)
  153.            mv- move files(mv from to)
  154.            rm- delete files 
  155.            mkdir- make dir
  156.            rmdir- remove dir
  157.            man- Online Help (man [topic])
  158.            more- displays file content
  159.            less-  ^^^^^^^^^^
  160.            clear- clear screen
  161.  
  162.       Shutting Down Linux- IMPORTANT! never just shut off the power, hard drive problems may occur use SHUTDOWN, see command line references.
  163.  
  164.       Running Linux Programs-
  165.      
  166.            bc- command line calculator
  167.            workbone- text based cd player
  168.            sc- spreadsheet calculator
  169.            minicom- pretty basic communication software
  170.  
  171.  
  172. 6. X Windows 
  173.  
  174.       What is X Windows? Simple, graphical operating environment.
  175.  
  176.       Installing XFree86- XFree is the free x-windows software provided. Setup will usually ask you if you want XFree86 installed.
  177.  
  178.       Hardware Support- check docs on cd 
  179.  
  180.       Configuring- run /usr/share/Program_Groups/Admin_Tools/XFree86Setup
  181.  
  182.       X Windows Resource Files- see man pages for startx or xrdb
  183.  
  184.       Start XWindows- startx @ shell prompt
  185.  
  186.  
  187. 7. Improving System Security
  188.  
  189.       Physical Security- don't worry about this, unless of course parents, enemies, etc are around
  190.  
  191.       Password Security- change passwords regularly, 6 characters long, maybe something with a symbol like root!root or bob&bob
  192.  
  193.       Logon Secutiy- 
  194.  
  195.            Accounts w/out Passwords- disable them or add pw 
  196.  
  197.            Unused accounts- delete them
  198.  
  199.            Command Accounts- logon ID's that run a given command and then exit. Lower risks by ensuring no command line input will run.
  200.  
  201.       File Security- make sure users cannot access system files
  202.       
  203.            Permissions- see CHMOD in command line
  204.  
  205.       SUID & SGID Programs- check for holes
  206.  
  207.       Recording SU command- SU is usually stored in /va/adm/syslog
  208.  
  209.  
  210.  
  211. 8. Linux Shells-
  212.  
  213.       Logging on- Enter user id & password this information is stored in etc/passwd
  214.  
  215.       Understanding Shells- after you logon to Linux you are in a shell. Linux shells can be compared to MS-DOS's COMMAND.COM.
  216.  
  217.       Changing Shell Variables- This is self explainatory after you find the file to edit. 
  218.  
  219.                  bash/bourne- .profile (in home dir)
  220.                      c      - .login 
  221.                    In the syntax of Variable=Value
  222.  
  223.     In the beginning of this I was going to have alot more on shell programming but the length is a bit too long so I've editted out TONS of stuff out of this 4-5 sections and limiting tthis one, and a few others ones coming ahead, gotta have a few docs to write :) 
  224.  
  225.  
  226. 9. Command-Line Reference 
  227.  
  228.       at- schedule jobs to execute 
  229.       Usage: at -q queue time
  230.              at -l 
  231.              at -r job-ids
  232.              batch
  233.  
  234.       banner- produces large banner 
  235.       Usage: banner [-w[n]] strings
  236.       Ex: banner hello  (produces hello in large format)
  237.  
  238.       bash- starts bash shell
  239.       Usage: sh [options] file
  240.       Options:
  241.               -c string - If -c flag is present, command are read from string, after string, they're assigned to the positional parameters, starting with $0 
  242.                    -i   - shell is interactive
  243.                    -s   - commands are read from standard input 
  244.                     -   - signals the end of options
  245.                 -norc   - Do not read & execute ~/.bashrc
  246.                -profile - do not read either system startup file /etc/profile or personal ini
  247.  
  248.       batch- see "at"
  249.  
  250.       cal- calendar
  251.       Usage: cal [-day] [-month] [-year]
  252.  
  253.       cat-concatenates files, display-files 
  254.       Usage: cat [options] filelist
  255.       Options:
  256.               filelist- optional list of files
  257.                 -b    - number all nonblank output lines
  258.                 -e    - = to vE
  259.                 -n    - number all output lines
  260.                 -s    - Replaces multiple, adjacent blank lines with a single blank line
  261.                 -t    - = to -vT
  262.                 -v    - Displays control characters with ^notation 
  263.                 -A    - = to -vET
  264.                 -E    - Displays a $ after each line
  265.                 -T    - Display TAB as ^I
  266.  
  267.        cd-changes directory 
  268.        Usage: cd dirname
  269.  
  270.        chgrp-changes group ownership of a file
  271.        Usage: chgrp [options] group filelist
  272.        Options:
  273.                 -c  -  Verbosely describes files who change
  274.                 -f  -  No error messages
  275.                 -v  -  Verbosely describes ownership changes
  276.                 -R  -  changes ownership of dir's & their contents
  277.  
  278.        chmod-changes permissions of files
  279.        Usage: chmod [options] mode filelist
  280.        Options: see above (chgrp)
  281.  
  282.        chown: change ownership of the file
  283.        Usage: chown [options] user filelist
  284.        Options: see above also
  285.  
  286.        clear: clears screen 
  287.        Usage: clear 
  288.  
  289.        compress- compresses specified files
  290.        Usage: compress [options] [file-name]
  291.        Options: 
  292.                 -c   - no files changed, written to stdout
  293.                 -C   - prevents subdivision of the file into blocks
  294.                 -d   - Uncompresses files
  295.                 -f   - Overwrites output files
  296.                 -v   - while each file is compressed
  297.  
  298.        cp- copies files
  299.        Usage: cp [options] sourcefile destfile
  300.               cp [options] sourcelist destdirectory
  301.        Options:
  302.                 -a   - preserves structure and attributes of the original
  303.                 -b   - makes backups of the files about to be overwritten 
  304.                 -d   - copies symbolic links as symbolic links
  305.                 -f   - removes existing destination files
  306.                 -i   - prompts whether to overwrite existing
  307.  
  308.        crontab- informs cron daemon of the programs
  309.        Usage: crontab -l [-u user]
  310.               crontab -e [-u user]
  311.               crontab -d [-u user]
  312.        Options:
  313.                 -l   - lists your crontab file
  314.                 -e   - edits crontab file
  315.                 -d   - deletes a user's crontab file
  316.                 -u user - specifies a particular user's crontab file to manipulate. MUST BE ROOT
  317.  
  318.        csh- See tcsh
  319.  
  320.        cut- extracts fields from a list of files
  321.        Usage: cut -cchar=pos filelist
  322.               cut -ffields =dfield -sep -s filelist
  323.  
  324.        date- displays system date and time
  325.        Usage: date MMDDhhmm
  326.  
  327.        df- reports the amount of space that is free on the disk
  328.        Usage: df [options] filesystems
  329.        Options:
  330.                  filesystems-optional list of filesystem
  331.                  -a     - lists file system that have 0 blocks 
  332.                  -i     - lists inode usage info instead of block usage
  333.                  -k     - prints sizes in 1k blocks instead of 512-byte blocks
  334.                  -P     - uses POSIX output format
  335.                  -t fstype- limits the listing to filesystems of type fstype
  336.                  -x fstype- opposite of ^^^
  337.                  -v     - Ignored, (included for System V versions of df)
  338.  
  339.        diff= compares two text files & reports what needs to be changed to make it look like the other
  340.        Usage: diff [options] oldifle newfile
  341.        Options:
  342.                  oldfile - the file you want compared to 
  343.                  newfile - the file you are comparing 
  344.                  -b      - causes leading and trailing blanks and tabs to compare as =
  345.                  -e      - generates a script suitable for the ed editor 
  346.                  -f      - similar to the -e flag
  347.  
  348.        du- displays amount of space being used b directories or files
  349.        Usage: du [options] name
  350.        Options:
  351.                  names   - list of directories or files
  352.                  -s      - causes only a total for each of the specified names
  353.                  -a      - causes each file encountered to be displayed with its size
  354.                  -b      - prints sizes in bytes
  355.                  -x      - only directories in currently mounted file system
  356.                  -L      - shows disk space used by the file appointed to by a symbolic link
  357.  
  358.        echo- takes arguments passed to it and writes them to standard output.
  359.        Usage: echo [-n] [-e] string
  360.        Options:
  361.                  -n      - normally, echo follows with all the output with a new line. This command stops that.
  362.                  -e      - enables interpretation of the following character sequences:
  363.                                                 
  364.                                                     \a Alert (bell)
  365.                                 \b Backspace
  366.                             \c don't print a newline at end
  367.                              \f Formfeed
  368.                             \n a new line
  369.                             \r Carriage return
  370.                             \t Tab
  371.                             \v Vertical Tab
  372.                             \\ Backslash
  373.                  string  - string of characters you want to output 
  374.  
  375.        ed= line editor 
  376.        Usage: ed [-] [-s] [-x]
  377.        Options:
  378.                  -       - suppresses the messages produced by e,r,w,q!
  379.                  -s      - suppresses diagnostics
  380.                  -x      - prompts the encryption key to read and write 
  381.                  -p prompt- enables you to specify your own prompt string
  382.                  filename- name of file you want to edit 
  383.  
  384.        env- modifies the environment for the execution of a command without changing current environment 
  385.        Usage: env [-] [-i] [-u name] [name=value] [command]
  386.        Options:
  387.                  -       - restricts the environment to only those values to follow in the name=value list
  388.                  -u name - removes variable name from the environment 
  389.                  -i      - starts with an empty environment, ignoring any environment informationg inherited by the process
  390.                  name=value- allows you to pass environment variables to the command specifying the value of the variables for this execution of the command
  391.                  command - name of command nad its arguments to be run with the specified environment
  392.  
  393.        fgrep- see grep
  394.  
  395.        file- determins the type of file
  396.        Usage: file [-c] [-z] [-L] [-f file] [-m mfile] filelist 
  397.        Options:
  398.                  -c      - prints out the parsed form of the magic file
  399.                  -z      - looks inside compressed file and tries to figure out its type 
  400.                  -L      - this option causes symbolic links to be followed
  401.                  -f ffile- tells file that the list of files to identify is found in ffile
  402.  
  403.        find- finds file and directories 
  404.        Usage: find dirlist match-spec 
  405.        Options:
  406.                  dirlist - where what you want to find is 
  407.                  match-spec- 
  408.                          -name file
  409.                          -user user-id
  410.  
  411.        finger- displays information about users
  412.        Usage: finger [options] users
  413.        Options:
  414.                  users   - optional list of user names
  415.                  -s      - displays user logon, real name, terminal name & write status, idle time, logon time
  416.                  -l      - process multi-line processes
  417.                  -p      - prevents -l option
  418.                  -m      - restricts matching of the user arguments to the logon name
  419.  
  420.        grep- finds patterns in files
  421.        Usage: grep [options] reg-expres filelist
  422.               egrep [options] reg-expres filelist
  423.               fgrep [options] string filelist
  424.        Options:
  425.                  filelist - optional space-seperated list of files
  426.                  reg-expres- regular expression to search for 
  427.                  string   - string you want to find in files
  428.                  -v       - lists lines that don't match string or reg-expres
  429.                  -c       - counts match lines
  430.                  -l       - only the names are displayed 
  431.                  -h       - suppresses the displays of name of the file the match found in 
  432.                  -n       - matching line is displayed along with its relative line number
  433.  
  434.        head- prints out the first number of specified lines of the file
  435.        Usage: head -lines filelist
  436.        Options: 
  437.                  -lines   - number of lines to print beginning of the file. Default=10
  438.                  filelist - list of filenames you want displayed
  439.        
  440.  
  441.        id- display your identification to the sytem
  442.        Usage: id [options]
  443.        Options:
  444.                  -g       - Prints Group ID
  445.                  -G       - Prints supplementary groups
  446.                  -n       - Prints user or group name
  447.                  -r       - Pritns the real user or group ID
  448.                  -u       - Prints only the User ID
  449.  
  450.        join- extracts the common lines from two sorted files
  451.        Usage: join [options] file1 file2
  452.        Options:
  453.                  file1    - first file used in the join
  454.                  file2    - second file used in join
  455.                  -an      - unmatching lines from either file
  456.                  -e string- replaces empty output fields with string
  457.                  -j n m   - joins the two files on the mth field of file n 
  458.  
  459.        kill- allows you to send a signal to a process that is currently executing 
  460.        Usage: kill [-signal] pid
  461.               kill -l
  462.        Options:
  463.                  -signal  - optional signal that can be sent 
  464.                  pid      - process id of the process you want to sedn the specified signal
  465.  
  466.        less- general purpose file pager, similar to move
  467.        Usage: less file-names
  468.  
  469.        ls- equal to DOS's dir command
  470.        Usage: ls [options] [filelist]
  471.        Options:
  472.                  -a       - Show all files
  473.                  -C       - Columnar output, down
  474.                  -x       - Columanr output, across
  475.                  -d       - treats each entry as a directory
  476.                  -l       - Long Listing 
  477.  
  478.        mesg- control where you allow other to message your terminal 
  479.        Usage: mesg [n:y]
  480.        Options:
  481.                  n        - Does not allow messages 
  482.                  y        - Allows messages
  483.  
  484.        mcd- used to report & set the current MS-DOS device and directory
  485.        Usage: mcd [ms-dos directory]
  486.  
  487.        mcopy- copies files to and from MS-DOS filesystem
  488.        Usage: mcopy [options] sourcefile targetfile
  489.        Options: 
  490.                  -t       - Text file transfer 
  491.                  -n       - no warning for overwrite 
  492.                  -v       - Verbose Mode
  493.                  -m       - preserves modification time
  494.                  sourcefile- MS-DOS file being copied
  495.                  targetfile- destination of file
  496.  
  497.        mdel- deletes an MS-DOS file from DOS file system
  498.        Usage: mdel [-v] msdos-file
  499.        Options:
  500.                  -v       - Verbose Mode
  501.                  ms-dosfile- file to delete
  502.  
  503.        mdir- displays contents of an MS-DOS directory 
  504.        Usage: mdir [-w] name
  505.        Options:
  506.                  -w       - display listing in "wide format"
  507.                  name     - name of directory
  508.  
  509.        mkdir- create new directories 
  510.        Usage: mkdir [-m mode] [-pdirnames] dir 
  511.        Options: 
  512.                  -m mode  - sets directory to permissions to mode
  513.                  -p dirnames- creates all non-existent parent directories
  514.                  dir      - directory to create 
  515.  
  516.        more- general purpose pager, used to view text that scrolls off the screen
  517.        Usage: more [options] file-names
  518.        Options: 
  519.                  -n       - interger used to set window size to n lines long
  520.                  -c       - clears one line and draws another
  521.                  -d       - displays "Press Space To continue" 
  522.                  -f       - counts logical lines instead of screen lines
  523.                  -l       - does not treat ^L (form feed) character
  524.                  -s       - multiple blank lines suppressed 
  525.                  -p       - clears screen & displays text
  526.                  -u       - suppresses underlining 
  527.                  file-names- list of files you want displayed
  528.     
  529.        mv- renames a file, moves a file to new directory, renames directory 
  530.        Usage: mv [-f] [-i] file1 file2
  531.               mv [-f] [-i] dir1  dir2
  532.               mv [-f] [-i] filelist dir
  533.        Options:
  534.                  -f       - moves without prompting 
  535.                  -i       - Interactive Mode
  536.                  file1    - source file
  537.                  file2    - new filename 
  538.                  dir1     - source directory 
  539.                  dir2     - new directory name
  540.                  filelist - space seperated list of file names
  541.                  dir      - destinationg directory
  542.  
  543.        newgrp- changes Group ID 
  544.        Usage: newgrp group 
  545.        Options: 
  546.                  group    - group ID you want to become active in 
  547.  
  548.        passwd- maintain user passwords
  549.        Usage: passwd [name]
  550.        Options:
  551.                  name     - changes password of username SUPER USER ONLY
  552.       
  553.        paste- produces columnar output from files, usually used with cut 
  554.        Usage: paste -ddelim filelist 
  555.               paste -s -ddelim filelist
  556.        Options: 
  557.                  -ddelim  - shows what character to delimit each column
  558.                  filelist - list of files to paste 
  559.                  -s       - causes paste to traverse each file
  560.  
  561.        pr - allows formatting to a file while printing it to standard output 
  562.        Usage: pr [options] filelist 
  563.        Options: 
  564.                  filelist - space= delimited list of files
  565.                  -page    - begins printing with page page 
  566.                  -col     - specifies col columns of output 
  567.                  -m       - merges file 
  568.                  -d       - double spaces the output 
  569.  
  570.        ps- reports the status of processes 
  571.        Usage: ps [options]
  572.        Options:
  573.                  -l       - long listing
  574.                  -u       - prints in user format
  575.                  -j       - output in jobs format
  576.                  -s       - output in single format
  577.                  -v       - output in virtual memory format 
  578.                  -m       - displays memory information
  579.                  -a       - shows processes without a terminal
  580.                  -x       - displays processes without a terminal
  581.                  -S       - adds child CPU time and page faults
  582.                  -c       - lists command name from kernel task structure 
  583.                  -e       - shows environment 
  584.                  -w       - dispalys in wide format
  585.                  -h       - no header
  586.                  -r       - displays running processes only
  587.                  -n       - provides numeric output (user)
  588.                 
  589.         pwd- reports your current directory 
  590.         Usage: pwd
  591.  
  592.         recp- used to copy files between computers
  593.         Usage: rcp [options] file1 file2
  594.         Options: 
  595.                  -r       - copies subdirectories 
  596.                  -p       - preserves times and access modes
  597.                  -k       - requests kerberos tickets 
  598.                  -x       - turns on DES encryption for all data 
  599.                  file1,file2- source/destination
  600.                  files    - source files
  601.                  directory- destination directory
  602.  
  603.         rm- removes files and directory structures
  604.         Usage: rm [options] filelist
  605.         Options:
  606.                  filelist - space-delimited list of files to delete
  607.                  -r       - deletes directories in filelist
  608.                  -i       - interactive mode
  609.                  -f       - forced mode
  610.                  -v       - verbose mode
  611.  
  612.         rmdir- removes directory 
  613.         Usage: rmdir -p dirlist 
  614.         Options: 
  615.                  -p       - deletes parent directories
  616.                  dirlist  - list of directory names
  617.  
  618.         sh- see bash
  619.  
  620.         shutdown- shuts down system
  621.         Usage: shutdown [options] time [warning]
  622.         Options:
  623.                  -k       - sends warning message, no shutdown
  624.                  -r       - reboots after shutdown
  625.                  -h       - halts after shutdown
  626.                  -n       - doesnt sync disks
  627.                  -f       - fast reboot
  628.                  -c       - cancels already running shutdown
  629.  
  630.         sleep- suspends execution for interval of time
  631.         Usage: sleep n 
  632.         Options:
  633.                  n        - specifies amount of time
  634.  
  635.         split- breaks up a text file
  636.         Usage: split -numlines file tagname
  637.         Options:
  638.                  -numline - specifies number of lines
  639.                  file     - file to split
  640.  
  641.         stty- sets terminal device driver line controls
  642.         Usage: stty -a =g settings
  643.         Options: 
  644.                  -a       - shows all settings
  645.                  -g       - like above but produces 12 hexadecimal number seperated by colons
  646.                  settings - series of stty command
  647.  
  648.         sync- writes the current disk image to HD 
  649.         Usage: sync
  650.  
  651.         tail- enables you to view the end of a text file
  652.         Usage: tail beg-offset -f file
  653.         Options: 
  654.                  beg-offset- offset, in lines, within the file 
  655.                  
  656.  
  657.         tar- see tar man pages
  658.  
  659.         tcsh- command interpreter similar
  660.         Usage: tcsh
  661.  
  662.         tee- splits output in a pipline to 1 or more files
  663.         Usage: tee [options] filelist 
  664.         Options: 
  665.                  filelist  - list of files you want to capture the output in 
  666.                  -i        - ignores interrupts
  667.                  -a        - filelist is appended with the output instead of overwritten
  668.  
  669.         test- see man pages
  670.  
  671.         time- determines how long a program takes to execute
  672.         Usage: time command
  673.         Options: 
  674.                  command   - command you want to time
  675.  
  676.         touch- changes access and modification times of a file/creates new file with a specified times
  677.         Usage: touch [options] MMDDhhmmYY filelist 
  678.         Options: 
  679.                  MMDDhhmmYY- time to which to set the file
  680.                  filelist  - list of files you want to have specified time
  681.                  -a        - changes access times
  682.                  -m        - same as -a but for modified time
  683.  
  684.         tr- translates or maps characters in a file from one form to another 
  685.         Usage: tr [options] from-string to-string
  686.         Options:
  687.                  from-string- characters to map fro
  688.                  \octal     - specifies octal value
  689.                  to-string  - string of characters to map into 
  690.                  -c         - appends from-string to to-string
  691.                  -d         - deletes characters specified in from-string
  692.                  -s         - strips repeated characters
  693.  
  694.         true- returns a zero exit status that means true in the shell
  695.         Usage: true
  696.       
  697.         tty- reports currently logged on device name
  698.         Usage: tty -s 
  699.         Options: 
  700.                  -s         - tests standard input
  701.  
  702.         umask- specifies what the default permissions are
  703.         Usage: umask mask
  704.         Options: 
  705.                  mask     0-no restrictions
  706.                           1-restrict execute permissions
  707.                           2- restrict write permissions
  708.                           4- restrict read permissions
  709.  
  710.         uname- reports the system name and catalog information
  711.         Usage: uname [options]
  712.         Options: 
  713.                  -s         - reports system name
  714.                  -n         - reports node name
  715.                  -r         - reports release number of o/s
  716.                  -v         - reports version number of o/s
  717.                  -m         - reports machine hardware name
  718.                  -a         - reports all the above 
  719.  
  720.         uniq- strips out lines that are identical, producing one unique(hence the command) line
  721.         Usage: uniq [options] input output
  722.         Options: 
  723.                  input      - name of file which to read
  724.                  output     - name of file to create
  725.                  -u         - makes uniq to output lines that arent repeated
  726.                  -d         - forces uniq to output lines that were repeated- only one copy of them
  727.                  -c         - produces a report with left column
  728.                  -fields    - counts of fields is skipped 
  729.                  +chars     - skips char number of character
  730.  
  731.         uudecode- see uuencode
  732.     
  733.         uuencode- used to format a binary file so that it can be sent over media that does not support ASCII
  734.         Usage: uuencode[file] name
  735.                uudecode[file] 
  736.         Options:
  737.                  file       - name of the file to format with uuencode uudecode
  738.                  name       - name to be used for the decoded file
  739.  
  740.         vi- text editor
  741.         Usage: vi file-name
  742.         
  743.  
  744.         wall-writes to all users currently logged onto the system 
  745.         Usage: wall [file-name]
  746.         
  747.  
  748.         wc- counts characters, words, lines in a file
  749.         Usage: wc [options] filelist
  750.         Options: 
  751.                  filelist   - files to count 
  752.                  -c         - counts only the number of characters 
  753.                  -w         - counts number of words 
  754.                  -l         - counts only lines
  755.  
  756.         which- searches through your path for specified program
  757.         Usage: which program
  758.         Options:
  759.                  program    - command you want to find
  760.  
  761.         who- reports users on the system
  762.         Usage: who [options] utmp-like-file 
  763.                who am i 
  764.         Options:
  765.                  utmp-like-file- alternate file to obtain logon info
  766.                  -u         - reports users
  767.                  -T         - indicates terminal acceptance of messages
  768.                  -H         - prints header line
  769.                  -q         - quick version of output 
  770.    
  771.         write- communcates with a user
  772.         Usage: write user tty 
  773.         Options: 
  774.                  user- username of the user to contact
  775.                  tty- specifies tty
  776.  
  777.         That was a big section, just keep this close to your computer, read over it more than once. 
  778.  
  779.  
  780. A Few Words, 
  781.  
  782.  I've cut out 5 major sections of this, so you'll see them coming out soon. Sorry about the delay , I'm behind about 2-3 weeks, due to the fact that i'm in groups and we've all been working. :) Including a local one we're starting.. Then there's my projects, some java/TCL things. This is about 50-65 hours of work, hope you get somethin outta it . 15 hours of it was without A/C in TX weather (acckkk)
  783. Special Thanks to Spirithawk for sendin me a book on linux :) Lemme Know what you think
  784.  
  785. 0utkast 
  786.  
  787. (hmm i signed my handle..weird...)
  788.  
  789. p.s. 35 kb ..not bad i was expecting at least a meg..hehe
  790.  
  791.  
  792.  
  793.         
  794.  
  795.  
  796.   
  797.                  
  798.         
  799.  
  800.  
  801.  
  802.  
  803.                
  804.  
  805.  
  806.       
  807.  
  808.  
  809.    
  810.  
  811.          
  812.       
  813.  
  814.                   
  815.  
  816.  
  817.  
  818.  
  819. ... texts ...